package controllers

import (
	"fs_oms/models"
	"github.com/astaxie/beego"
)

type QueryGatewayController struct {
	beego.Controller
}

func (c *QueryGatewayController) Get() {
	gateways := models.GetAllGateways()
	c.Data["Gateways"] = gateways
	c.TplName = "querygateway.tpl"
}
